ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 1 - No. 42)

What is the purpose of an `ELSE` statement when used with an `IF` statement?
To execute a block of code if the `IF` condition is false.
To start a loop.
To declare a variable.
To terminate a procedure.

Giải thích

An `ELSE` block contains the code to run if the `IF` condition is not met (is false).

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc